package com.example.capsule_kafka.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.capsule_kafka.bean.MacAddressToFieldBean;
import org.apache.ibatis.annotations.Select;


/**
 * @Author: zhuzhiming
 * @Date: 2022/5/2 0:01
 */
public interface MacAddressToFieldMapper extends BaseMapper<MacAddressToFieldBean> {

    @Select("select field  from mac_address_to_field f where mac_address = #{macAddress}")
    String getFieldByMac(String macAddress);

}
